package com.zhy.springcloud.serivce;

import com.zhy.springcloud.enetities.CommonResult;
import org.springframework.stereotype.Component;

/**
 * @Author zhy
 * @Description
 * @ClassName PaymentFallbackService
 * @Date 2020/12/28 14:28
 **/
@Component
public class PaymentFallbackService implements PaymentService{


    @Override
    public CommonResult paymentSQL(Long id) {

        return new CommonResult(444,"服务降级返回");
    }
}
